import React, { Component } from "react";

class Home extends Component {
    constructor(props) {
        super(props);
        this.state = {};
    }
    render() {
        return (
            <div>
                <h1>HOME</h1>
                <button onClick={() => { this.props.history.push("/one"); }}>
                    跳转到第一个页面
                </button>
                <button onClick={() => { this.props.history.push("/app"); }}>
                    跳转到concent测试页
                </button>
            </div>
        );
    }
}
export default Home